#!/bin/bash
set -e

LOG_FILE="installation_log.txt"
ERROR_LOG="installation_errors.log"

# 清空旧日志文件
> "$LOG_FILE"
> "$ERROR_LOG"

# 定义要安装的软件包列表
PACKAGES=(
  "accountsservice"
  "ack"
  "ack-grep"
  "acl"
  "acpi-support"
  "acpid"
  "adduser"
  "adium-theme-ubuntu"
  "adwaita-icon-theme"
  "aisleriot"
  "alsa-base"
  "alsa-utils"
  "amd64-microcode"
  "anacron"
  "apg"
  "app-install-data-partner"
  "apparmor"
  "apport"
  "apport-gtk"
  "apport-symptoms"
  "appstream"
  "apt"
  "apt-config-icons"
  "apt-utils"
  "aptdaemon"
  "aptdaemon-data"
  "apturl"
  "apturl-common"
  "aspell"
  "aspell-en"
  "at-spi2-core"
  "attr"
  "avahi-autoipd"
  "avahi-daemon"
  "avahi-utils"
  "baobab"
  "base-files"
  "base-passwd"
  "bash"
  "bash-completion"
  "bc"
  "bind9-host"
  "binfmt-support"
  "binutils"
  "binutils-common:amd64"
  "binutils-x86-64-linux-gnu"
  "bison"
  "bluez"
  "bluez-cups"
  "bluez-obexd"
  "bolt"
  "branding-ubuntu"
  "brltty"
  "bsdmainutils"
  "bsdutils"
  "bubblewrap"
  "build-essential"
  "busybox-initramfs"
  "busybox-static"
  "bzip2"
  "ca-certificates"
  "ca-certificates-java"
  "cheese"
  "cheese-common"
  "chrpath"
  "clang"
  "clang-6.0"
  "cmake"
  "cmake-data"
  "code"
  "colord"
  "colord-data"
  "command-not-found"
  "command-not-found-data"
  "console-setup"
  "console-setup-linux"
  "coreutils"
  "corkscrew"
  "cpio"
  "cpp"
  "cpp-7"
  "cppcheck"
  "cracklib-runtime"
  "crda"
  "cron"
  "cups"
  "cups-browsed"
  "cups-bsd"
  "cups-client"
  "cups-common"
  "cups-core-drivers"
  "cups-daemon"
  "cups-filters"
  "cups-filters-core-drivers"
  "cups-ipp-utils"
  "cups-pk-helper"
  "cups-ppdc"
  "cups-server-common"
  "curl"
  "cvs"
  "dash"
  "dblatex"
  "dblatex-doc"
  "dbus"
  "dbus-user-session"
  "dbus-x11"
  "dc"
  "dconf-cli"
  "dconf-gsettings-backend:amd64"
  "dconf-service"
  "debconf"
  "debconf-i18n"
  "debianutils"
  "default-jre"
  "default-jre-headless"
  "deja-dup"
  "desktop-file-utils"
  "device-tree-compiler"
  "dh-python"
  "dictionaries-common"
  "diffstat"
  "diffutils"
  "dirmngr"
  "distro-info"
  "distro-info-data"
  "dmidecode"
  "dmsetup"
  "dmz-cursor-theme"
  "dns-root-data"
  "dnsmasq-base"
  "dnsutils"
  "docbook-dsssl"
  "docbook-utils"
  "docbook-xml"
  "docbook-xsl"
  "dos2unix"
  "dosfstools"
  "dpkg"
  "dpkg-dev"
  "e2fsprogs"
  "ed"
  "efibootmgr"
  "eject"
  "emacsen-common"
  "enchant"
  "eog"
  "espeak-ng-data:amd64"
  "evince"
  "evince-common"
  "evolution-data-server"
  "evolution-data-server-common"
  "example-content"
  "exuberant-ctags"
  "fakeroot"
  "fcitx"
  "fcitx-bin"
  "fcitx-config-common"
  "fcitx-config-gtk"
  "fcitx-data"
  "fcitx-frontend-all"
  "fcitx-frontend-gtk2"
  "fcitx-frontend-gtk3"
  "fcitx-frontend-qt4"
  "fcitx-frontend-qt5:amd64"
  "fcitx-libs"
  "fcitx-module-dbus"
  "fcitx-module-kimpanel"
  "fcitx-module-lua"
  "fcitx-module-x11"
  "fcitx-modules"
  "fcitx-ui-classic"
  "fdisk"
  "ffmpeg"
  "file"
  "file-roller"
  "findutils"
  "firefox"
  "firefox-locale-en"
  "firefox-locale-zh-hans"
  "flameshot"
  "flex"
  "fontconfig"
  "fontconfig-config"
  "fonts-arphic-ukai"
  "fonts-arphic-uming"
  "fonts-beng"
  "fonts-beng-extra"
  "fonts-dejavu-core"
  "fonts-dejavu-extra"
  "fonts-deva"
  "fonts-deva-extra"
  "fonts-droid-fallback"
  "fonts-freefont-ttf"
  "fonts-gargi"
  "fonts-gfs-baskerville"
  "fonts-gfs-porson"
  "fonts-gubbi"
  "fonts-gujr"
  "fonts-gujr-extra"
  "fonts-guru"
  "fonts-guru-extra"
  "fonts-indic"
  "fonts-kacst"
  "fonts-kacst-one"
  "fonts-kalapi"
  "fonts-khmeros-core"
  "fonts-knda"
  "fonts-lao"
  "fonts-lato"
  "fonts-liberation"
  "fonts-liberation2"
  "fonts-lklug-sinhala"
  "fonts-lmodern"
  "fonts-lohit-beng-assamese"
  "fonts-lohit-beng-bengali"
  "fonts-lohit-deva"
  "fonts-lohit-gujr"
  "fonts-lohit-guru"
  "fonts-lohit-knda"
  "fonts-lohit-mlym"
  "fonts-lohit-orya"
  "fonts-lohit-taml"
  "fonts-lohit-taml-classical"
  "fonts-lohit-telu"
  "fonts-mlym"
  "fonts-nakula"
  "fonts-navilu"
  "fonts-noto-cjk"
  "fonts-noto-cjk-extra"
  "fonts-noto-color-emoji"
  "fonts-noto-mono"
  "fonts-opensymbol"
  "fonts-orya"
  "fonts-orya-extra"
  "fonts-pagul"
  "fonts-sahadeva"
  "fonts-samyak-deva"
  "fonts-samyak-gujr"
  "fonts-samyak-mlym"
  "fonts-samyak-taml"
  "fonts-sarai"
  "fonts-sil-abyssinica"
  "fonts-sil-padauk"
  "fonts-smc"
  "fonts-smc-anjalioldlipi"
  "fonts-smc-chilanka"
  "fonts-smc-dyuthi"
  "fonts-smc-karumbi"
  "fonts-smc-keraleeyam"
  "fonts-smc-manjari"
  "fonts-smc-meera"
  "fonts-smc-rachana"
  "fonts-smc-raghumalayalamsans"
  "fonts-smc-suruma"
  "fonts-smc-uroob"
  "fonts-taml"
  "fonts-telu"
  "fonts-telu-extra"
  "fonts-texgyre"
  "fonts-thai-tlwg"
  "fonts-tibetan-machine"
  "fonts-tlwg-garuda"
  "fonts-tlwg-garuda-ttf"
  "fonts-tlwg-kinnari"
  "fonts-tlwg-kinnari-ttf"
  "fonts-tlwg-laksaman"
  "fonts-tlwg-laksaman-ttf"
  "fonts-tlwg-loma"
  "fonts-tlwg-loma-ttf"
  "fonts-tlwg-mono"
  "fonts-tlwg-mono-ttf"
  "fonts-tlwg-norasi"
  "fonts-tlwg-norasi-ttf"
  "fonts-tlwg-purisa"
  "fonts-tlwg-purisa-ttf"
  "fonts-tlwg-sawasdee"
  "fonts-tlwg-sawasdee-ttf"
  "fonts-tlwg-typewriter"
  "fonts-tlwg-typewriter-ttf"
  "fonts-tlwg-typist"
  "fonts-tlwg-typist-ttf"
  "fonts-tlwg-typo"
  "fonts-tlwg-typo-ttf"
  "fonts-tlwg-umpush"
  "fonts-tlwg-umpush-ttf"
  "fonts-tlwg-waree"
  "fonts-tlwg-waree-ttf"
  "fonts-ubuntu"
  "foomatic-db-compressed-ppds"
  "fop"
  "friendly-recovery"
  "ftp"
  "fuse"
  "fwupd"
  "fwupd-signed"
  "fwupdate"
  "fwupdate-signed"
  "g++"
  "g++-7"
  "gawk"
  "gcc"
  "gcc-7"
  "gcc-7-base:amd64"
  "gcc-7-multilib"
  "gcc-8-base:amd64"
  "gcc-multilib"
  "gconf-service"
  "gconf-service-backend"
  "gconf2"
  "gconf2-common"
  "gcr"
  "gdb"
  "gdbserver"
  "gdisk"
  "gdm3"
  "gedit"
  "gedit-common"
  "genisoimage"
  "geoclue-2.0"
  "geoip-database"
  "gettext"
  "gettext-base"
  "ghostscript"
  "ghostscript-x"
  "gir1.2-accountsservice-1.0"
  "gir1.2-atk-1.0:amd64"
  "gir1.2-atspi-2.0:amd64"
  "gir1.2-dbusmenu-glib-0.4:amd64"
  "gir1.2-dee-1.0"
  "gir1.2-freedesktop:amd64"
  "gir1.2-gck-1:amd64"
  "gir1.2-gcr-3:amd64"
  "gir1.2-gdesktopenums-3.0:amd64"
  "gir1.2-gdkpixbuf-2.0:amd64"
  "gir1.2-gdm-1.0"
  "gir1.2-geoclue-2.0:amd64"
  "gir1.2-geocodeglib-1.0:amd64"
  "gir1.2-glib-2.0:amd64"
  "gir1.2-gmenu-3.0:amd64"
  "gir1.2-gnomebluetooth-1.0:amd64"
  "gir1.2-gnomedesktop-3.0:amd64"
  "gir1.2-goa-1.0:amd64"
  "gir1.2-gst-plugins-base-1.0:amd64"
  "gir1.2-gstreamer-1.0:amd64"
  "gir1.2-gtk-3.0:amd64"
  "gir1.2-gtksource-3.0:amd64"
  "gir1.2-gudev-1.0:amd64"
  "gir1.2-gweather-3.0:amd64"
  "gir1.2-ibus-1.0:amd64"
  "gir1.2-javascriptcoregtk-4.0:amd64"
  "gir1.2-json-1.0:amd64"
  "gir1.2-mutter-2:amd64"
  "gir1.2-nm-1.0:amd64"
  "gir1.2-nma-1.0:amd64"
  "gir1.2-notify-0.7:amd64"
  "gir1.2-packagekitglib-1.0"
  "gir1.2-pango-1.0:amd64"
  "gir1.2-peas-1.0:amd64"
  "gir1.2-polkit-1.0"
  "gir1.2-rb-3.0:amd64"
  "gir1.2-rsvg-2.0:amd64"
  "gir1.2-secret-1:amd64"
  "gir1.2-snapd-1:amd64"
  "gir1.2-soup-2.4:amd64"
  "gir1.2-totem-1.0:amd64"
  "gir1.2-totemplparser-1.0:amd64"
  "gir1.2-udisks-2.0:amd64"
  "gir1.2-unity-5.0:amd64"
  "gir1.2-upowerglib-1.0:amd64"
  "gir1.2-vte-2.91:amd64"
  "gir1.2-webkit2-4.0:amd64"
  "gir1.2-wnck-3.0:amd64"
  "git"
  "git-man"
  "gjs"
  "gkbd-capplet"
  "glib-networking:amd64"
  "glib-networking-common"
  "glib-networking-services"
  "glibc-doc"
  "glibc-doc-reference"
  "gnome-accessibility-themes"
  "gnome-bluetooth"
  "gnome-calendar"
  "gnome-control-center"
  "gnome-control-center-data"
  "gnome-control-center-faces"
  "gnome-desktop3-data"
  "gnome-disk-utility"
  "gnome-font-viewer"
  "gnome-getting-started-docs"
  "gnome-initial-setup"
  "gnome-keyring"
  "gnome-keyring-pkcs11:amd64"
  "gnome-mahjongg"
  "gnome-menus"
  "gnome-mines"
  "gnome-online-accounts"
  "gnome-power-manager"
  "gnome-screenshot"
  "gnome-session-bin"
  "gnome-session-canberra"
  "gnome-session-common"
  "gnome-settings-daemon"
  "gnome-settings-daemon-schemas"
  "gnome-shell"
  "gnome-shell-common"
  "gnome-shell-extension-appindicator"
  "gnome-shell-extension-ubuntu-dock"
  "gnome-software"
  "gnome-software-common"
  "gnome-software-plugin-snap"
  "gnome-startup-applications"
  "gnome-sudoku"
  "gnome-terminal"
  "gnome-terminal-data"
  "gnome-themes-extra:amd64"
  "gnome-themes-extra-data"
  "gnome-todo"
  "gnome-todo-common"
  "gnome-user-docs"
  "gnome-user-docs-zh-hans"
  "gnome-user-guide"
  "gnome-video-effects"
  "gnupg"
  "gnupg-l10n"
  "gnupg-utils"
  "gnupg2"
  "gparted"
  "gpg"
  "gpg-agent"
  "gpg-wks-client"
  "gpg-wks-server"
  "gpgconf"
  "gpgsm"
  "gpgv"
  "grep"
  "grilo-plugins-0.3-base:amd64"
  "groff-base"
  "grub-common"
  "grub-gfxpayload-lists"
  "grub-pc"
  "grub-pc-bin"
  "grub2-common"
  "gsettings-desktop-schemas"
  "gsettings-ubuntu-schemas"
  "gsfonts"
  "gstreamer1.0-alsa:amd64"
  "gstreamer1.0-clutter-3.0:amd64"
  "gstreamer1.0-gl:amd64"
  "gstreamer1.0-gtk3:amd64"
  "gstreamer1.0-packagekit"
  "gstreamer1.0-plugins-base:amd64"
  "gstreamer1.0-plugins-base-apps"
  "gstreamer1.0-plugins-good:amd64"
  "gstreamer1.0-pulseaudio:amd64"
  "gstreamer1.0-tools"
  "gstreamer1.0-x:amd64"
  "gtk-update-icon-cache"
  "gtk2-engines-murrine:amd64"
  "gtk2-engines-pixbuf:amd64"
  "guile-2.0-libs:amd64"
  "gvfs:amd64"
  "gvfs-backends"
  "gvfs-bin"
  "gvfs-common"
  "gvfs-daemons"
  "gvfs-fuse"
  "gvfs-libs:amd64"
  "gzip"
  "hdparm"
  "hicolor-icon-theme"
  "hostname"
  "hplip"
  "hplip-data"
  "htop"
  "humanity-icon-theme"
  "hunspell-en-au"
  "hunspell-en-ca"
  "hunspell-en-gb"
  "hunspell-en-us"
  "hunspell-en-za"
  "hyphen-en-ca"
  "hyphen-en-gb"
  "hyphen-en-us"
  "i965-va-driver:amd64"
  "ibus"
  "ibus-gtk:amd64"
  "ibus-gtk3:amd64"
  "ibus-libpinyin"
  "ibus-table"
  "ibus-table-wubi"
  "ibverbs-providers:amd64"
  "icc-profiles-free"
  "ifupdown"
  "iio-sensor-proxy"
  "im-config"
  "imagemagick"
  "imagemagick-6-common"
  "imagemagick-6.q16"
  "info"
  "init"
  "init-system-helpers"
  "initramfs-tools"
  "initramfs-tools-bin"
  "initramfs-tools-core"
  "inputattach"
  "install-info"
  "intel-microcode"
  "intltool-debian"
  "ippusbxd"
  "iproute2"
  "iptables"
  "iputils-arping"
  "iputils-ping"
  "iputils-tracepath"
  "irqbalance"
  "isc-dhcp-client"
  "isc-dhcp-common"
  "iso-codes"
  "iucode-tool"
  "iw"
  "java-common"
  "java-wrappers"
  "javascript-common"
  "kbd"
  "kerneloops"
  "keyboard-configuration"
  "keyutils"
  "klibc-utils"
  "kmod"
  "krb5-locales"
  "language-pack-en"
  "language-pack-en-base"
  "language-pack-gnome-en"
  "language-pack-gnome-en-base"
  "language-pack-gnome-zh-hans"
  "language-pack-gnome-zh-hans-base"
  "language-pack-zh-hans"
  "language-pack-zh-hans-base"
  "language-selector-common"
  "language-selector-gnome"
  "laptop-detect"
  "less"
  "lib32asan4"
  "lib32atomic1"
  "lib32cilkrts5"
  "lib32gcc-7-dev"
  "lib32gcc1"
  "lib32gomp1"
  "lib32itm1"
  "lib32mpx2"
  "lib32ncurses5"
  "lib32quadmath0"
  "lib32stdc++6"
  "lib32tinfo5"
  "lib32ubsan0"
  "liba52-0.7.4:amd64"
  "libaa1:amd64"
  "libaacs0:amd64"
  "libabw-0.1-1:amd64"
  "libaccountsservice0:amd64"
  "libacl1:amd64"
  "libalgorithm-diff-perl"
  "libalgorithm-diff-xs-perl"
  "libalgorithm-merge-perl"
  "libao-common"
  "libao4:amd64"
  "libapache-pom-java"
  "libapparmor1:amd64"
  "libappindicator3-1"
  "libappstream-glib8:amd64"
  "libappstream4:amd64"
  "libapr1:amd64"
  "libaprutil1:amd64"
  "libapt-inst2.0:amd64"
  "libapt-pkg-perl"
  "libapt-pkg5.0:amd64"
  "libarchive-zip-perl"
  "libarchive13:amd64"
  "libargon2-0:amd64"
  "libaribb24-0:amd64"
  "libart-2.0-2:amd64"
  "libasan4:amd64"
  "libasn1-8-heimdal:amd64"
  "libasound2:amd64"
  "libasound2-data"
  "libasound2-dev:amd64"
  "libasound2-plugins:amd64"
  "libaspell15:amd64"
  "libass9:amd64"
  "libassuan0:amd64"
  "libasyncns0:amd64"
  "libatasmart4:amd64"
  "libatk-adaptor:amd64"
  "libatk-bridge2.0-0:amd64"
  "libatk-wrapper-java"
  "libatk-wrapper-java-jni:amd64"
  "libatk1.0-0:amd64"
  "libatk1.0-data"
  "libatkmm-1.6-1v5:amd64"
  "libatm1:amd64"
  "libatomic1:amd64"
  "libatspi2.0-0:amd64"
  "libattr1:amd64"
  "libaudio2:amd64"
  "libaudit-common"
  "libaudit1:amd64"
  "libauthen-sasl-perl"
  "libavahi-client3:amd64"
  "libavahi-common-data:amd64"
  "libavahi-common3:amd64"
  "libavahi-core7:amd64"
  "libavahi-glib1:amd64"
  "libavahi-ui-gtk3-0:amd64"
  "libavalon-framework-java"
  "libavc1394-0:amd64"
  "libavcodec57:amd64"
  "libavdevice57:amd64"
  "libavfilter6:amd64"
  "libavformat57:amd64"
  "libavresample3:amd64"
  "libavutil55:amd64"
  "libbabeltrace1:amd64"
  "libbasicusageenvironment1:amd64"
  "libbatik-java"
  "libbdplus0:amd64"
  "libbind9-160:amd64"
  "libbinutils:amd64"
  "libbison-dev:amd64"
  "libblkid1:amd64"
  "libblockdev-crypto2:amd64"
  "libblockdev-fs2:amd64"
  "libblockdev-loop2:amd64"
  "libblockdev-part-err2:amd64"
  "libblockdev-part2:amd64"
  "libblockdev-swap2:amd64"
  "libblockdev-utils2:amd64"
  "libblockdev2:amd64"
  "libbluetooth3:amd64"
  "libbluray2:amd64"
  "libbonobo2-0:amd64"
  "libbonobo2-common"
  "libbonoboui2-0:amd64"
  "libbonoboui2-common"
  "libboost-date-time1.65.1:amd64"
  "libboost-filesystem1.65.1:amd64"
  "libboost-iostreams1.65.1:amd64"
  "libboost-locale1.65.1:amd64"
  "libboost-system1.65.1:amd64"
  "libboost-thread1.65.1:amd64"
  "libbotan-2-4"
  "libbrlapi0.6:amd64"
  "libbrotli1:amd64"
  "libbs2b0:amd64"
  "libbsd0:amd64"
  "libbsf-java"
  "libbz2-1.0:amd64"
  "libc-ares2:amd64"
  "libc-bin"
  "libc-dev-bin"
  "libc6:amd64"
  "libc6-dbg:amd64"
  "libc6-dev:amd64"
  "libc6-dev-i386"
  "libc6-dev-x32"
  "libc6-i386"
  "libc6-x32"
  "libcaca-dev"
  "libcaca0:amd64"
  "libcairo-gobject-perl"
  "libcairo-gobject2:amd64"
  "libcairo-perl"
  "libcairo2:amd64"
  "libcairomm-1.0-1v5:amd64"
  "libcamel-1.2-61:amd64"
  "libcanberra-gtk3-0:amd64"
  "libcanberra-gtk3-module:amd64"
  "libcanberra-pulse:amd64"
  "libcanberra0:amd64"
  "libcap-ng0:amd64"
  "libcap2:amd64"
  "libcap2-bin"
  "libcc1-0:amd64"
  "libcddb2"
  "libcdio-cdda2:amd64"
  "libcdio-paranoia2:amd64"
  "libcdio17:amd64"
  "libcdparanoia0:amd64"
  "libcdr-0.1-1:amd64"
  "libcephfs2"
  "libcgi-fast-perl"
  "libcgi-pm-perl"
  "libcheese-gtk25:amd64"
  "libcheese8:amd64"
  "libchromaprint1:amd64"
  "libcilkrts5:amd64"
  "libclang-common-6.0-dev"
  "libclang1-6.0:amd64"
  "libclass-accessor-perl"
  "libclass-data-inheritable-perl"
  "libclass-method-modifiers-perl"
  "libclone-perl"
  "libclucene-contribs1v5:amd64"
  "libclucene-core1v5:amd64"
  "libclutter-1.0-0:amd64"
  "libclutter-1.0-common"
  "libclutter-gst-3.0-0:amd64"
  "libclutter-gtk-1.0-0:amd64"
  "libcmis-0.5-5v5"
  "libcogl-common"
  "libcogl-pango20:amd64"
  "libcogl-path20:amd64"
  "libcogl20:amd64"
  "libcolamd2:amd64"
  "libcolord-gtk1:amd64"
  "libcolord2:amd64"
  "libcolorhug2:amd64"
  "libcom-err2:amd64"
  "libcommon-sense-perl"
  "libcommons-io-java"
  "libcommons-logging-java"
  "libcommons-parent-java"
  "libcrack2:amd64"
  "libcroco3:amd64"
  "libcrypt-openssl-bignum-perl"
  "libcrypt-openssl-rsa-perl"
  "libcryptsetup12:amd64"
  "libcrystalhd3:amd64"
  "libcups2:amd64"
  "libcupscgi1:amd64"
  "libcupsfilters1:amd64"
  "libcupsimage2:amd64"
  "libcupsmime1:amd64"
  "libcupsppdc1:amd64"
  "libcurl3-gnutls:amd64"
  "libcurl4:amd64"
  "libdaemon0:amd64"
  "libdata-dump-perl"
  "libdata-random-perl"
  "libdatrie1:amd64"
  "libdazzle-1.0-0:amd64"
  "libdb5.3:amd64"
  "libdbus-1-3:amd64"
  "libdbus-glib-1-2:amd64"
  "libdbusmenu-glib4:amd64"
  "libdbusmenu-gtk3-4:amd64"
  "libdbusmenu-gtk4:amd64"
  "libdc1394-22:amd64"
  "libdca0:amd64"
  "libdconf1:amd64"
  "libdebconfclient0:amd64"
  "libdee-1.0-4:amd64"
  "libdevmapper1.02.1:amd64"
  "libdigest-hmac-perl"
  "libdjvulibre-text"
  "libdjvulibre21:amd64"
  "libdmapsharing-3.0-2:amd64"
  "libdns-export1100"
  "libdns1100:amd64"
  "libdotconf0:amd64"
  "libdouble-conversion1:amd64"
  "libdpkg-perl"
  "libdrm-amdgpu1:amd64"
  "libdrm-common"
  "libdrm-dev:amd64"
  "libdrm-intel1:amd64"
  "libdrm-nouveau2:amd64"
  "libdrm-radeon1:amd64"
  "libdrm2:amd64"
  "libdv4:amd64"
  "libdvbpsi10:amd64"
  "libdvdnav4:amd64"
  "libdvdread4:amd64"
  "libdw1:amd64"
  "libe-book-0.1-1:amd64"
  "libebackend-1.2-10:amd64"
  "libebml4v5:amd64"
  "libebook-1.2-19:amd64"
  "libebook-contacts-1.2-2:amd64"
  "libecal-1.2-19:amd64"
  "libedata-book-1.2-25:amd64"
  "libedata-cal-1.2-28:amd64"
  "libedataserver-1.2-23:amd64"
  "libedataserverui-1.2-2:amd64"
  "libedit2:amd64"
  "libefiboot1:amd64"
  "libefivar1:amd64"
  "libegl-mesa0:amd64"
  "libegl1:amd64"
  "libegl1-mesa:amd64"
  "libegl1-mesa-dev:amd64"
  "libelf1:amd64"
  "libemail-valid-perl"
  "libenchant1c2a:amd64"
  "libencode-locale-perl"
  "libeot0:amd64"
  "libepoxy0:amd64"
  "libepubgen-0.1-1:amd64"
  "liberror-perl"
  "libespeak-ng1:amd64"
  "libestr0:amd64"
  "libetonyek-0.1-1:amd64"
  "libevdev2:amd64"
  "libevdocument3-4:amd64"
  "libevent-2.1-6:amd64"
  "libevview3-3:amd64"
  "libexempi3:amd64"
  "libexif12:amd64"
  "libexiv2-14:amd64"
  "libexpat1:amd64"
  "libexpat1-dev:amd64"
  "libexporter-tiny-perl"
  "libext2fs2:amd64"
  "libexttextcat-2.0-0:amd64"
  "libexttextcat-data"
  "libfaad2:amd64"
  "libfakeroot:amd64"
  "libfastjson4:amd64"
  "libfcgi-perl"
  "libfcitx-config4:amd64"
  "libfcitx-core0:amd64"
  "libfcitx-gclient1:amd64"
  "libfcitx-qt0:amd64"
  "libfcitx-qt5-1:amd64"
  "libfcitx-utils0:amd64"
  "libfdisk1:amd64"
  "libffi-dev:amd64"
  "libffi6:amd64"
  "libfftw3-double3:amd64"
  "libfftw3-single3:amd64"
  "libfile-basedir-perl"
  "libfile-copy-recursive-perl"
  "libfile-desktopentry-perl"
  "libfile-fcntllock-perl"
  "libfile-homedir-perl"
  "libfile-listing-perl"
  "libfile-mimeinfo-perl"
  "libfile-next-perl"
  "libfile-which-perl"
  "libfl-dev:amd64"
  "libfl2:amd64"
  "libflac8:amd64"
  "libflite1:amd64"
  "libfont-afm-perl"
  "libfontbox-java"
  "libfontconfig1:amd64"
  "libfontembed1:amd64"
  "libfontenc1:amd64"
  "libfop-java"
  "libfreehand-0.1-1"
  "libfreerdp-client2-2:amd64"
  "libfreerdp2-2:amd64"
  "libfreetype6:amd64"
  "libfribidi0:amd64"
  "libfuse2:amd64"
  "libfwup1:amd64"
  "libfwupd2:amd64"
  "libgail-3-0:amd64"
  "libgail-common:amd64"
  "libgail18:amd64"
  "libgbm1:amd64"
  "libgc1c2:amd64"
  "libgcab-1.0-0:amd64"
  "libgcc-7-dev:amd64"
  "libgcc1:amd64"
  "libgck-1-0:amd64"
  "libgconf-2-4:amd64"
  "libgcr-base-3-1:amd64"
  "libgcr-ui-3-1:amd64"
  "libgcrypt20:amd64"
  "libgd-perl"
  "libgd3:amd64"
  "libgdata-common"
  "libgdata22:amd64"
  "libgdbm-compat4:amd64"
  "libgdbm5:amd64"
  "libgdk-pixbuf2.0-0:amd64"
  "libgdk-pixbuf2.0-bin"
  "libgdk-pixbuf2.0-common"
  "libgdm1"
  "libgee-0.8-2:amd64"
  "libgeoclue-2-0:amd64"
  "libgeocode-glib0:amd64"
  "libgeoip1:amd64"
  "libgettextpo0:amd64"
  "libgexiv2-2:amd64"
  "libgif7:amd64"
  "libgirepository-1.0-1:amd64"
  "libgjs0g"
  "libgl1:amd64"
  "libgl1-mesa-dev:amd64"
  "libgl1-mesa-dri:amd64"
  "libgl1-mesa-glx:amd64"
  "libglade2-0:amd64"
  "libglapi-mesa:amd64"
  "libgles1:amd64"
  "libgles2:amd64"
  "libgles2-mesa-dev:amd64"
  "libglib-object-introspection-perl"
  "libglib-perl"
  "libglib2.0-0:amd64"
  "libglib2.0-bin"
  "libglib2.0-data"
  "libglib2.0-dev:amd64"
  "libglib2.0-dev-bin"
  "libglibmm-2.4-1v5:amd64"
  "libglu1-mesa:amd64"
  "libglu1-mesa-dev:amd64"
  "libglvnd-core-dev:amd64"
  "libglvnd-dev:amd64"
  "libglvnd0:amd64"
  "libglx-mesa0:amd64"
  "libglx0:amd64"
  "libgme0:amd64"
  "libgmime-3.0-0:amd64"
  "libgmp10:amd64"
  "libgnome-2-0:amd64"
  "libgnome-autoar-0-0:amd64"
  "libgnome-bluetooth13:amd64"
  "libgnome-desktop-3-17:amd64"
  "libgnome-games-support-1-3:amd64"
  "libgnome-games-support-common"
  "libgnome-keyring-common"
  "libgnome-keyring0:amd64"
  "libgnome-menu-3-0:amd64"
  "libgnome-todo"
  "libgnome2-canvas-perl"
  "libgnome2-common"
  "libgnome2-gconf-perl"
  "libgnome2-perl"
  "libgnome2-vfs-perl"
  "libgnome2-wnck-perl"
  "libgnomecanvas2-0:amd64"
  "libgnomecanvas2-common"
  "libgnomekbd-common"
  "libgnomekbd8:amd64"
  "libgnomeui-0:amd64"
  "libgnomeui-common"
  "libgnomevfs2-0:amd64"
  "libgnomevfs2-common"
  "libgnomevfs2-extra:amd64"
  "libgnutls30:amd64"
  "libgoa-1.0-0b:amd64"
  "libgoa-1.0-common"
  "libgoa-backend-1.0-1:amd64"
  "libgom-1.0-0:amd64"
  "libgomp1:amd64"
  "libgpg-error0:amd64"
  "libgpgme11:amd64"
  "libgpgmepp6:amd64"
  "libgphoto2-6:amd64"
  "libgphoto2-l10n"
  "libgphoto2-port12:amd64"
  "libgpm2:amd64"
  "libgpod-common"
  "libgpod4:amd64"
  "libgraphene-1.0-0:amd64"
  "libgraphite2-3:amd64"
  "libgrilo-0.3-0:amd64"
  "libgroupsock8:amd64"
  "libgs9:amd64"
  "libgs9-common"
  "libgsm1:amd64"
  "libgspell-1-1:amd64"
  "libgspell-1-common"
  "libgssapi-krb5-2:amd64"
  "libgssapi3-heimdal:amd64"
  "libgstreamer-gl1.0-0:amd64"
  "libgstreamer-plugins-base1.0-0:amd64"
  "libgstreamer-plugins-good1.0-0:amd64"
  "libgstreamer1.0-0:amd64"
  "libgtk-3-0:amd64"
  "libgtk-3-bin"
  "libgtk-3-common"
  "libgtk2-imageview-perl"
  "libgtk2-perl"
  "libgtk2-unique-perl"
  "libgtk2.0-0:amd64"
  "libgtk2.0-bin"
  "libgtk2.0-common"
  "libgtk3-perl"
  "libgtkimageview0"
  "libgtkmm-2.4-1v5:amd64"
  "libgtksourceview-3.0-1:amd64"
  "libgtksourceview-3.0-common"
  "libgtop-2.0-11:amd64"
  "libgtop2-common"
  "libgudev-1.0-0:amd64"
  "libgusb2:amd64"
  "libgutenprint2"
  "libgweather-3-15:amd64"
  "libgweather-common"
  "libgxps2:amd64"
  "libharfbuzz-icu0:amd64"
  "libharfbuzz0b:amd64"
  "libhcrypto4-heimdal:amd64"
  "libheimbase1-heimdal:amd64"
  "libheimntlm0-heimdal:amd64"
  "libhogweed4:amd64"
  "libhpmud0:amd64"
  "libhtml-form-perl"
  "libhtml-format-perl"
  "libhtml-parser-perl"
  "libhtml-tagset-perl"
  "libhtml-tree-perl"
  "libhttp-cookies-perl"
  "libhttp-daemon-perl"
  "libhttp-date-perl"
  "libhttp-message-perl"
  "libhttp-negotiate-perl"
  "libhttp-server-simple-perl"
  "libhunspell-1.6-0:amd64"
  "libhx509-5-heimdal:amd64"
  "libhyphen0:amd64"
  "libibus-1.0-5:amd64"
  "libibverbs1:amd64"
  "libical3:amd64"
  "libice6:amd64"
  "libicu60:amd64"
  "libidn11:amd64"
  "libidn2-0:amd64"
  "libiec61883-0:amd64"
  "libieee1284-3:amd64"
  "libijs-0.35:amd64"
  "libilmbase12:amd64"
  "libimage-magick-perl"
  "libimage-magick-q16-perl"
  "libimobiledevice6:amd64"
  "libindicator3-7"
  "libinput-bin"
  "libinput10:amd64"
  "libio-html-perl"
  "libio-pty-perl"
  "libio-socket-inet6-perl"
  "libio-socket-ssl-perl"
  "libio-string-perl"
  "libip4tc0:amd64"
  "libip6tc0:amd64"
  "libipc-run-perl"
  "libipc-system-simple-perl"
  "libiptc0:amd64"
  "libirs160:amd64"
  "libisc-export169:amd64"
  "libisc169:amd64"
  "libisccc160:amd64"
  "libisccfg160:amd64"
  "libisl19:amd64"
  "libitm1:amd64"
  "libiw30:amd64"
  "libjack-jackd2-0:amd64"
  "libjansson4:amd64"
  "libjavascriptcoregtk-4.0-18:amd64"
  "libjaxp1.3-java"
  "libjbig0:amd64"
  "libjbig2dec0:amd64"
  "libjpeg-turbo8:amd64"
  "libjpeg8:amd64"
  "libjs-jquery"
  "libjs-sphinxdoc"
  "libjs-underscore"
  "libjson-c3:amd64"
  "libjson-glib-1.0-0:amd64"
  "libjson-glib-1.0-common"
  "libjson-perl"
  "libjson-xs-perl"
  "libjsoncpp1:amd64"
  "libk5crypto3:amd64"
  "libkate1:amd64"
  "libkeyutils1:amd64"
  "libklibc"
  "libkmod2:amd64"
  "libkpathsea6:amd64"
  "libkrb5-26-heimdal:amd64"
  "libkrb5-3:amd64"
  "libkrb5support0:amd64"
  "libksba8:amd64"
  "liblangtag-common"
  "liblangtag1:amd64"
  "liblcms2-2:amd64"
  "liblcms2-utils"
  "libldap-2.4-2:amd64"
  "libldap-common"
  "libldb1:amd64"
  "liblirc-client0:amd64"
  "liblist-moreutils-perl"
  "liblivemedia62:amd64"
  "libllvm10:amd64"
  "libllvm6.0:amd64"
  "liblocale-gettext-perl"
  "liblouis-data"
  "liblouis14:amd64"
  "liblouisutdml-bin"
  "liblouisutdml-data"
  "liblouisutdml8:amd64"
  "liblqr-1-0:amd64"
  "liblsan0:amd64"
  "libltdl7:amd64"
  "liblua5.2-0:amd64"
  "liblua5.3-0:amd64"
  "liblwp-mediatypes-perl"
  "liblwp-protocol-https-perl"
  "liblwres160:amd64"
  "liblz4-1:amd64"
  "liblzma5:amd64"
  "liblzo2-2:amd64"
  "libmad0:amd64"
  "libmagic-mgc"
  "libmagic1:amd64"
  "libmagickcore-6.q16-3:amd64"
  "libmagickcore-6.q16-3-extra:amd64"
  "libmagickwand-6.q16-3:amd64"
  "libmailtools-perl"
  "libmatroska6v5:amd64"
  "libmaxminddb0:amd64"
  "libmbim-glib4:amd64"
  "libmbim-proxy"
  "libmediaart-2.0-0:amd64"
  "libmessaging-menu0:amd64"
  "libmhash2:amd64"
  "libmicrodns0:amd64"
  "libmime-charset-perl"
  "libminiupnpc10:amd64"
  "libmm-glib0:amd64"
  "libmng2:amd64"
  "libmnl0:amd64"
  "libmotif-common"
  "libmount1:amd64"
  "libmouse-perl"
  "libmozjs-52-0:amd64"
  "libmp3lame0:amd64"
  "libmpc3:amd64"
  "libmpcdec6:amd64"
  "libmpdec2:amd64"
  "libmpeg2-4:amd64"
  "libmpfr6:amd64"
  "libmpg123-0:amd64"
  "libmpx2:amd64"
  "libmspub-0.1-1:amd64"
  "libmtdev1:amd64"
  "libmtp-common"
  "libmtp-runtime"
  "libmtp9:amd64"
  "libmutter-2-0:amd64"
  "libmwaw-0.3-3:amd64"
  "libmysofa0:amd64"
  "libmysqlclient20:amd64"
  "libmythes-1.2-0:amd64"
  "libnatpmp1"
  "libnautilus-extension1a:amd64"
  "libncurses5:amd64"
  "libncurses5-dev:amd64"
  "libncursesw5:amd64"
  "libncursesw5-dev:amd64"
  "libndp0:amd64"
  "libneon27-gnutls:amd64"
  "libnet-dbus-perl"
  "libnet-dns-perl"
  "libnet-domain-tld-perl"
  "libnet-dropbox-api-perl"
  "libnet-http-perl"
  "libnet-ip-perl"
  "libnet-libidn-perl"
  "libnet-oauth-perl"
  "libnet-smtp-ssl-perl"
  "libnet-ssleay-perl"
  "libnetfilter-conntrack3:amd64"
  "libnetpbm10"
  "libnetplan0:amd64"
  "libnettle6:amd64"
  "libnewt0.52:amd64"
  "libnfnetlink0:amd64"
  "libnfs11:amd64"
  "libnfsidmap2:amd64"
  "libnghttp2-14:amd64"
  "libnih1:amd64"
  "libnl-3-200:amd64"
  "libnl-genl-3-200:amd64"
  "libnl-route-3-200:amd64"
  "libnm0:amd64"
  "libnma0:amd64"
  "libnorm1:amd64"
  "libnotify-bin"
  "libnotify4:amd64"
  "libnpth0:amd64"
  "libnspr4:amd64"
  "libnss-mdns:amd64"
  "libnss-myhostname:amd64"
  "libnss-systemd:amd64"
  "libnss3:amd64"
  "libntfs-3g88"
  "libnuma1:amd64"
  "liboauth0:amd64"
  "libobjc-7-dev:amd64"
  "libobjc4:amd64"
  "libodfgen-0.1-1:amd64"
  "libogg0:amd64"
  "libomp-dev"
  "libomp5:amd64"
  "libopenal-data"
  "libopenal1:amd64"
  "libopenexr22:amd64"
  "libopengl0:amd64"
  "libopenjp2-7:amd64"
  "libopenmpt-modplug1:amd64"
  "libopenmpt0:amd64"
  "libopus0:amd64"
  "liborbit-2-0:amd64"
  "liborc-0.4-0:amd64"
  "liborcus-0.13-0:amd64"
  "libosp5"
  "libostyle1c2"
  "libp11-kit0:amd64"
  "libpackagekit-glib2-18:amd64"
  "libpagemaker-0.0-0:amd64"
  "libpam-cap:amd64"
  "libpam-gnome-keyring:amd64"
  "libpam-modules:amd64"
  "libpam-modules-bin"
  "libpam-runtime"
  "libpam-systemd:amd64"
  "libpam0g:amd64"
  "libpango-1.0-0:amd64"
  "libpango-perl"
  "libpangocairo-1.0-0:amd64"
  "libpangoft2-1.0-0:amd64"
  "libpangomm-1.4-1v5:amd64"
  "libpangoxft-1.0-0:amd64"
  "libpaper-utils"
  "libpaper1:amd64"
  "libparse-debianchangelog-perl"
  "libparted-fs-resize0:amd64"
  "libparted2:amd64"
  "libpath-class-perl"
  "libpcap0.8:amd64"
  "libpcaudio0"
  "libpci3:amd64"
  "libpciaccess0:amd64"
  "libpcre16-3:amd64"
  "libpcre3:amd64"
  "libpcre3-dev:amd64"
  "libpcre32-3:amd64"
  "libpcrecpp0v5:amd64"
  "libpcsclite1:amd64"
  "libpeas-1.0-0:amd64"
  "libpeas-common"
  "libperl5.26:amd64"
  "libperlio-gzip-perl"
  "libpgm-5.2-0:amd64"
  "libphonenumber7:amd64"
  "libpinyin-data:amd64"
  "libpinyin13:amd64"
  "libpipeline1:amd64"
  "libpixman-1-0:amd64"
  "libplacebo4:amd64"
  "libplist3:amd64"
  "libplymouth4:amd64"
  "libpng-dev:amd64"
  "libpng-tools"
  "libpng16-16:amd64"
  "libpolkit-agent-1-0:amd64"
  "libpolkit-backend-1-0:amd64"
  "libpolkit-gobject-1-0:amd64"
  "libpoppler-glib8:amd64"
  "libpoppler73:amd64"
  "libpopt0:amd64"
  "libpostproc54:amd64"
  "libpotrace0"
  "libpq5:amd64"
  "libpresage-data"
  "libpresage1v5:amd64"
  "libproc-processtable-perl"
  "libproc-simple-perl"
  "libprocps6:amd64"
  "libprotobuf-lite10:amd64"
  "libprotobuf10:amd64"
  "libproxy-tools"
  "libproxy1-plugin-gsettings:amd64"
  "libproxy1-plugin-networkmanager:amd64"
  "libproxy1v5:amd64"
  "libpsl5:amd64"
  "libptexenc1:amd64"
  "libpthread-stubs0-dev:amd64"
  "libpulse-dev:amd64"
  "libpulse-mainloop-glib0:amd64"
  "libpulse0:amd64"
  "libpulsedsp:amd64"
  "libpwquality-common"
  "libpwquality1:amd64"
  "libpython-dev:amd64"
  "libpython-stdlib:amd64"
  "libpython2.7:amd64"
  "libpython2.7-dev:amd64"
  "libpython2.7-minimal:amd64"
  "libpython2.7-stdlib:amd64"
  "libpython3-dev:amd64"
  "libpython3-stdlib:amd64"
  "libpython3.6:amd64"
  "libpython3.6-dev:amd64"
  "libpython3.6-minimal:amd64"
  "libpython3.6-stdlib:amd64"
  "libqbscore1.10:amd64"
  "libqbsqtprofilesetup1.10:amd64"
  "libqgsttools-p1:amd64"
  "libqmi-glib5:amd64"
  "libqmi-proxy"
  "libqpdf21:amd64"
  "libqqwing2v5:amd64"
  "libqscintilla2-qt5-13"
  "libqscintilla2-qt5-l10n"
  "libqt4-dbus:amd64"
  "libqt4-declarative:amd64"
  "libqt4-network:amd64"
  "libqt4-script:amd64"
  "libqt4-sql:amd64"
  "libqt4-sql-mysql:amd64"
  "libqt4-xml:amd64"
  "libqt4-xmlpatterns:amd64"
  "libqt5concurrent5:amd64"
  "libqt5core5a:amd64"
  "libqt5dbus5:amd64"
  "libqt5designer5:amd64"
  "libqt5designercomponents5:amd64"
  "libqt5gui5:amd64"
  "libqt5help5:amd64"
  "libqt5multimedia5:amd64"
  "libqt5multimedia5-plugins:amd64"
  "libqt5multimediawidgets5:amd64"
  "libqt5network5:amd64"
  "libqt5opengl5:amd64"
  "libqt5opengl5-dev:amd64"
  "libqt5positioning5:amd64"
  "libqt5printsupport5:amd64"
  "libqt5qml5:amd64"
  "libqt5quick5:amd64"
  "libqt5quicktest5:amd64"
  "libqt5quickwidgets5:amd64"
  "libqt5script5:amd64"
  "libqt5sensors5:amd64"
  "libqt5sql5:amd64"
  "libqt5sql5-sqlite:amd64"
  "libqt5svg5:amd64"
  "libqt5test5:amd64"
  "libqt5webchannel5:amd64"
  "libqt5webkit5:amd64"
  "libqt5widgets5:amd64"
  "libqt5x11extras5:amd64"
  "libqt5xml5:amd64"
  "libqt5xmlpatterns5:amd64"
  "libqtcore4:amd64"
  "libqtdbus4:amd64"
  "libqtgui4:amd64"
  "libquadmath0:amd64"
  "librados2"
  "libraptor2-0:amd64"
  "librasqal3:amd64"
  "libraw1394-11:amd64"
  "libraw16:amd64"
  "librdf0:amd64"
  "libreadline7:amd64"
  "libreoffice-avmedia-backend-gstreamer"
  "libreoffice-base-core"
  "libreoffice-calc"
  "libreoffice-common"
  "libreoffice-core"
  "libreoffice-draw"
  "libreoffice-gnome"
  "libreoffice-gtk3"
  "libreoffice-help-en-gb"
  "libreoffice-help-en-us"
  "libreoffice-help-zh-cn"
  "libreoffice-impress"
  "libreoffice-l10n-en-gb"
  "libreoffice-l10n-en-za"
  "libreoffice-l10n-zh-cn"
  "libreoffice-math"
  "libreoffice-ogltrans"
  "libreoffice-pdfimport"
  "libreoffice-style-breeze"
  "libreoffice-style-galaxy"
  "libreoffice-style-tango"
  "libreoffice-writer"
  "libresid-builder0c2a"
  "librest-0.7-0:amd64"
  "librevenge-0.0-0:amd64"
  "librhash0:amd64"
  "librhythmbox-core10:amd64"
  "libroken18-heimdal:amd64"
  "librsvg2-2:amd64"
  "librsvg2-common:amd64"
  "librtmp1:amd64"
  "librubberband2:amd64"
  "libruby2.5:amd64"
  "libsamplerate0:amd64"
  "libsane-common"
  "libsane-hpaio:amd64"
  "libsane1:amd64"
  "libsasl2-2:amd64"
  "libsasl2-modules:amd64"
  "libsasl2-modules-db:amd64"
  "libsaxon-java"
  "libsbc1:amd64"
  "libsdl-image1.2:amd64"
  "libsdl1.2-dev"
  "libsdl1.2debian:amd64"
  "libsdl2-2.0-0:amd64"
  "libseccomp2:amd64"
  "libsecret-1-0:amd64"
  "libsecret-common"
  "libselinux1:amd64"
  "libsemanage-common"
  "libsemanage1:amd64"
  "libsensors4:amd64"
  "libsepol1:amd64"
  "libserf-1-1:amd64"
  "libsgmls-perl"
  "libsgutils2-2"
  "libshine3:amd64"
  "libshout3:amd64"
  "libsidplay2"
  "libsigc++-2.0-0v5:amd64"
  "libsigsegv2:amd64"
  "libslang2:amd64"
  "libslang2-dev:amd64"
  "libsm6:amd64"
  "libsmartcols1:amd64"
  "libsmbclient:amd64"
  "libsmbios-c2"
  "libsmi2ldbl:amd64"
  "libsnapd-glib1:amd64"
  "libsnappy1v5:amd64"
  "libsndfile1:amd64"
  "libsndio6.1:amd64"
  "libsnmp-base"
  "libsnmp30:amd64"
  "libsocket6-perl"
  "libsodium23:amd64"
  "libsombok3:amd64"
  "libsonic0:amd64"
  "libsort-naturally-perl"
  "libsoup-gnome2.4-1:amd64"
  "libsoup2.4-1:amd64"
  "libsoxr0:amd64"
  "libspandsp2:amd64"
  "libspectre1:amd64"
  "libspeechd2:amd64"
  "libspeex1:amd64"
  "libspeexdsp1:amd64"
  "libsqlite0"
  "libsqlite3-0:amd64"
  "libsqlite3-dev:amd64"
  "libss2:amd64"
  "libssh-4:amd64"
  "libssh-gcrypt-4:amd64"
  "libssh2-1:amd64"
  "libssl-dev:amd64"
  "libssl1.0.0:amd64"
  "libssl1.1:amd64"
  "libstartup-notification0:amd64"
  "libstdc++-7-dev:amd64"
  "libstdc++6:amd64"
  "libstemmer0d:amd64"
  "libsub-name-perl"
  "libsuitesparseconfig5:amd64"
  "libsvn1:amd64"
  "libswresample2:amd64"
  "libswscale4:amd64"
  "libsynctex1:amd64"
  "libsysmetrics1:amd64"
  "libsystemd0:amd64"
  "libtag1v5:amd64"
  "libtag1v5-vanilla:amd64"
  "libtalloc2:amd64"
  "libtasn1-6:amd64"
  "libtcl8.6:amd64"
  "libtdb1:amd64"
  "libteamdctl0:amd64"
  "libtevent0:amd64"
  "libtexlua52:amd64"
  "libtexluajit2:amd64"
  "libtext-charwidth-perl"
  "libtext-iconv-perl"
  "libtext-levenshtein-perl"
  "libtext-unidecode-perl"
  "libtext-wrapi18n-perl"
  "libthai-data"
  "libthai0:amd64"
  "libtheora0:amd64"
  "libtie-ixhash-perl"
  "libtiff5:amd64"
  "libtimedate-perl"
  "libtinfo-dev:amd64"
  "libtinfo5:amd64"
  "libtinyxml2-6:amd64"
  "libtinyxml2.6.2v5:amd64"
  "libtirpc1:amd64"
  "libtk8.6:amd64"
  "libtotem-plparser-common"
  "libtotem-plparser18:amd64"
  "libtotem0:amd64"
  "libtracker-sparql-2.0-0:amd64"
  "libtry-tiny-perl"
  "libtsan0:amd64"
  "libtspi1"
  "libtwolame0:amd64"
  "libtypes-serialiser-perl"
  "libu2f-udev"
  "libubsan0:amd64"
  "libudev1:amd64"
  "libudisks2-0:amd64"
  "libunicode-linebreak-perl"
  "libunique-1.0-0"
  "libunistring2:amd64"
  "libunity-protocol-private0:amd64"
  "libunity-scopes-json-def-desktop"
  "libunity9:amd64"
  "libunwind8:amd64"
  "libupnp6:amd64"
  "libupower-glib3:amd64"
  "liburi-perl"
  "libusageenvironment3:amd64"
  "libusb-1.0-0:amd64"
  "libusbmuxd4:amd64"
  "libutempter0:amd64"
  "libuuid1:amd64"
  "libuv1:amd64"
  "libv4l-0:amd64"
  "libv4lconvert0:amd64"
  "libva-drm2:amd64"
  "libva-wayland2:amd64"
  "libva-x11-2:amd64"
  "libva2:amd64"
  "libvdpau1:amd64"
  "libvisio-0.1-1:amd64"
  "libvisual-0.4-0:amd64"
  "libvlc-bin:amd64"
  "libvlc5:amd64"
  "libvlccore9:amd64"
  "libvncclient1:amd64"
  "libvolume-key1"
  "libvorbis0a:amd64"
  "libvorbisenc2:amd64"
  "libvorbisfile3:amd64"
  "libvpx5:amd64"
  "libvte-2.91-0:amd64"
  "libvte-2.91-common"
  "libvulkan1:amd64"
  "libwacom-bin"
  "libwacom-common"
  "libwacom2:amd64"
  "libwavpack1:amd64"
  "libwayland-bin"
  "libwayland-client0:amd64"
  "libwayland-cursor0:amd64"
  "libwayland-dev:amd64"
  "libwayland-egl1:amd64"
  "libwayland-egl1-mesa:amd64"
  "libwayland-server0:amd64"
  "libwbclient0:amd64"
  "libwebkit2gtk-4.0-37:amd64"
  "libwebp6:amd64"
  "libwebpdemux2:amd64"
  "libwebpmux3:amd64"
  "libwebrtc-audio-processing1:amd64"
  "libwhoopsie-preferences0"
  "libwhoopsie0:amd64"
  "libwind0-heimdal:amd64"
  "libwinpr2-2:amd64"
  "libwireshark-data"
  "libwireshark11:amd64"
  "libwiretap8:amd64"
  "libwmf0.2-7:amd64"
  "libwmf0.2-7-gtk"
  "libwnck-3-0:amd64"
  "libwnck-3-common"
  "libwnck-common"
  "libwnck22:amd64"
  "libwoff1:amd64"
  "libwpd-0.10-10:amd64"
  "libwpg-0.3-3:amd64"
  "libwps-0.4-4:amd64"
  "libwrap0:amd64"
  "libwscodecs2:amd64"
  "libwsutil9:amd64"
  "libwww-mechanize-perl"
  "libwww-perl"
  "libwww-robotrules-perl"
  "libx11-6:amd64"
  "libx11-data"
  "libx11-dev:amd64"
  "libx11-doc"
  "libx11-protocol-other-perl"
  "libx11-protocol-perl"
  "libx11-xcb-dev:amd64"
  "libx11-xcb1:amd64"
  "libx264-152:amd64"
  "libx265-146:amd64"
  "libx32asan4"
  "libx32atomic1"
  "libx32cilkrts5"
  "libx32gcc-7-dev"
  "libx32gcc1"
  "libx32gomp1"
  "libx32itm1"
  "libx32quadmath0"
  "libx32stdc++6"
  "libx32ubsan0"
  "libxalan2-java"
  "libxapian30:amd64"
  "libxatracker2:amd64"
  "libxau-dev:amd64"
  "libxau6:amd64"
  "libxaw7:amd64"
  "libxcb-dri2-0:amd64"
  "libxcb-dri2-0-dev:amd64"
  "libxcb-dri3-0:amd64"
  "libxcb-dri3-dev:amd64"
  "libxcb-glx0:amd64"
  "libxcb-glx0-dev:amd64"
  "libxcb-icccm4:amd64"
  "libxcb-image0:amd64"
  "libxcb-keysyms1:amd64"
  "libxcb-present-dev:amd64"
  "libxcb-present0:amd64"
  "libxcb-randr0:amd64"
  "libxcb-randr0-dev:amd64"
  "libxcb-render-util0:amd64"
  "libxcb-render0:amd64"
  "libxcb-render0-dev:amd64"
  "libxcb-res0:amd64"
  "libxcb-shape0:amd64"
  "libxcb-shape0-dev:amd64"
  "libxcb-shm0:amd64"
  "libxcb-sync-dev:amd64"
  "libxcb-sync1:amd64"
  "libxcb-util1:amd64"
  "libxcb-xfixes0:amd64"
  "libxcb-xfixes0-dev:amd64"
  "libxcb-xinerama0:amd64"
  "libxcb-xkb1:amd64"
  "libxcb-xv0:amd64"
  "libxcb1:amd64"
  "libxcb1-dev:amd64"
  "libxcomposite1:amd64"
  "libxcursor1:amd64"
  "libxdamage-dev:amd64"
  "libxdamage1:amd64"
  "libxdmcp-dev:amd64"
  "libxdmcp6:amd64"
  "libxerces2-java"
  "libxext-dev:amd64"
  "libxext6:amd64"
  "libxfixes-dev:amd64"
  "libxfixes3:amd64"
  "libxfont2:amd64"
  "libxft2:amd64"
  "libxi6:amd64"
  "libxinerama1:amd64"
  "libxkbcommon-x11-0:amd64"
  "libxkbcommon0:amd64"
  "libxkbfile1:amd64"
  "libxklavier16:amd64"
  "libxm4:amd64"
  "libxml-commons-external-java"
  "libxml-commons-resolver1.1-java"
  "libxml-libxml-perl"
  "libxml-namespacesupport-perl"
  "libxml-parser-perl"
  "libxml-sax-base-perl"
  "libxml-sax-expat-perl"
  "libxml-sax-perl"
  "libxml-simple-perl"
  "libxml-twig-perl"
  "libxml-xpathengine-perl"
  "libxml2:amd64"
  "libxml2-utils"
  "libxmlb1:amd64"
  "libxmlgraphics-commons-java"
  "libxmlsec1:amd64"
  "libxmlsec1-nss:amd64"
  "libxmu6:amd64"
  "libxmuu1:amd64"
  "libxpm4:amd64"
  "libxrandr2:amd64"
  "libxrender1:amd64"
  "libxres1:amd64"
  "libxshmfence-dev:amd64"
  "libxshmfence1:amd64"
  "libxslt1.1:amd64"
  "libxss1:amd64"
  "libxt6:amd64"
  "libxtables12:amd64"
  "libxtst6:amd64"
  "libxv1:amd64"
  "libxvidcore4:amd64"
  "libxvmc1:amd64"
  "libxxf86dga1:amd64"
  "libxxf86vm-dev:amd64"
  "libxxf86vm1:amd64"
  "libyajl2:amd64"
  "libyaml-0-2:amd64"
  "libyaml-dev:amd64"
  "libyaml-libyaml-perl"
  "libyaml-tiny-perl"
  "libyelp0:amd64"
  "libzeitgeist-2.0-0:amd64"
  "libzmq5:amd64"
  "libzstd1:amd64"
  "libzvbi-common"
  "libzvbi0:amd64"
  "libzzip-0-13:amd64"
  "light-themes"
  "lintian"
  "linux-base"
  "linux-firmware"
  "linux-generic-hwe-18.04"
  "linux-headers-4.15.0-213"
  "linux-headers-4.15.0-213-generic"
  "linux-headers-5.4.0-150-generic"
  "linux-headers-5.4.0-72-generic"
  "linux-headers-generic"
  "linux-headers-generic-hwe-18.04"
  "linux-hwe-5.4-headers-5.4.0-150"
  "linux-hwe-5.4-headers-5.4.0-42"
  "linux-hwe-5.4-headers-5.4.0-67"
  "linux-hwe-5.4-headers-5.4.0-70"
  "linux-hwe-5.4-headers-5.4.0-71"
  "linux-hwe-5.4-headers-5.4.0-72"
  "linux-image-5.4.0-150-generic"
  "linux-image-5.4.0-42-generic"
  "linux-image-5.4.0-67-generic"
  "linux-image-5.4.0-70-generic"
  "linux-image-5.4.0-71-generic"
  "linux-image-5.4.0-72-generic"
  "linux-image-generic-hwe-18.04"
  "linux-libc-dev:amd64"
  "linux-modules-5.4.0-150-generic"
  "linux-modules-5.4.0-42-generic"
  "linux-modules-5.4.0-67-generic"
  "linux-modules-5.4.0-70-generic"
  "linux-modules-5.4.0-71-generic"
  "linux-modules-5.4.0-72-generic"
  "linux-modules-extra-5.4.0-150-generic"
  "linux-modules-extra-5.4.0-42-generic"
  "linux-modules-extra-5.4.0-67-generic"
  "linux-modules-extra-5.4.0-70-generic"
  "linux-modules-extra-5.4.0-71-generic"
  "linux-modules-extra-5.4.0-72-generic"
  "linux-sound-base"
  "llvm-6.0"
  "llvm-6.0-dev"
  "llvm-6.0-runtime"
  "lmodern"
  "locales"
  "login"
  "logrotate"
  "lp-solve"
  "lrzsz"
  "lsb-base"
  "lsb-release"
  "lshw"
  "lsof"
  "ltrace"
  "lynx"
  "lynx-common"
  "m4"
  "make"
  "man-db"
  "manpages"
  "manpages-de"
  "manpages-de-dev"
  "manpages-dev"
  "manpages-posix"
  "manpages-posix-dev"
  "mawk"
  "media-player-info"
  "memtest86+"
  "mercurial"
  "mercurial-common"
  "mesa-common-dev:amd64"
  "mesa-va-drivers:amd64"
  "mesa-vdpau-drivers:amd64"
  "mime-support"
  "mlocate"
  "mobile-broadband-provider-info"
  "modemmanager"
  "mount"
  "mousetweaks"
  "mscompress"
  "mtools"
  "mtr-tiny"
  "multiarch-support"
  "mutter"
  "mutter-common"
  "mysql-common"
  "mythes-en-au"
  "mythes-en-us"
  "nano"
  "nautilus"
  "nautilus-data"
  "nautilus-extension-gnome-terminal"
  "nautilus-sendto"
  "nautilus-share"
  "ncurses-base"
  "ncurses-bin"
  "ncurses-term"
  "net-tools"
  "netbase"
  "netcat-openbsd"
  "netpbm"
  "netplan.io"
  "network-manager"
  "network-manager-config-connectivity-ubuntu"
  "network-manager-gnome"
  "network-manager-pptp"
  "network-manager-pptp-gnome"
  "networkd-dispatcher"
  "nfs-common"
  "nfs-kernel-server"
  "notification-daemon"
  "nplan"
  "ntfs-3g"
  "openjade"
  "openjdk-11-jre:amd64"
  "openjdk-11-jre-headless:amd64"
  "openprinting-ppds"
  "opensp"
  "openssh-client"
  "openssh-server"
  "openssh-sftp-server"
  "openssl"
  "orca"
  "os-prober"
  "p11-kit"
  "p11-kit-modules:amd64"
  "packagekit"
  "packagekit-tools"
  "parted"
  "passwd"
  "patch"
  "patchutils"
  "pciutils"
  "pcmciautils"
  "perl"
  "perl-base"
  "perl-modules-5.26"
  "perl-openssl-defaults:amd64"
  "pgtop"
  "pia"
  "pinentry-curses"
  "pinentry-gnome3"
  "pkg-config"
  "plymouth"
  "plymouth-label"
  "plymouth-theme-ubuntu-logo"
  "plymouth-theme-ubuntu-text"
  "policykit-1"
  "policykit-desktop-privileges"
  "poppler-data"
  "poppler-utils"
  "popularity-contest"
  "powermgmt-base"
  "ppp"
  "pppconfig"
  "pppoeconf"
  "pptp-linux"
  "presage"
  "preview-latex-style"
  "printer-driver-all"
  "printer-driver-brlaser"
  "printer-driver-c2050"
  "printer-driver-c2esp"
  "printer-driver-cjet"
  "printer-driver-dymo"
  "printer-driver-escpr"
  "printer-driver-foo2zjs"
  "printer-driver-foo2zjs-common"
  "printer-driver-fujixerox"
  "printer-driver-gutenprint"
  "printer-driver-hpcups"
  "printer-driver-hpijs"
  "printer-driver-m2300w"
  "printer-driver-min12xxw"
  "printer-driver-pnm2ppa"
  "printer-driver-postscript-hp"
  "printer-driver-ptouch"
  "printer-driver-pxljr"
  "printer-driver-sag-gdi"
  "printer-driver-splix"
  "procps"
  "psmisc"
  "ptop"
  "publicsuffix"
  "pulseaudio"
  "pulseaudio-module-bluetooth"
  "pulseaudio-utils"
  "python"
  "python-apt"
  "python-apt-common"
  "python-crypto"
  "python-dev"
  "python-dnspython"
  "python-git-doc"
  "python-ldb:amd64"
  "python-minimal"
  "python-pip-whl"
  "python-samba"
  "python-talloc"
  "python-tdb"
  "python2.7"
  "python2.7-dev"
  "python2.7-minimal"
  "python3"
  "python3-apport"
  "python3-apt"
  "python3-aptdaemon"
  "python3-aptdaemon.gtk3widgets"
  "python3-asn1crypto"
  "python3-brlapi"
  "python3-cairo:amd64"
  "python3-certifi"
  "python3-cffi-backend"
  "python3-chardet"
  "python3-click"
  "python3-colorama"
  "python3-commandnotfound"
  "python3-crypto"
  "python3-cryptography"
  "python3-cups"
  "python3-cupshelpers"
  "python3-dateutil"
  "python3-dbus"
  "python3-debconf"
  "python3-debian"
  "python3-defer"
  "python3-dev"
  "python3-distro-info"
  "python3-distupgrade"
  "python3-distutils"
  "python3-gdbm:amd64"
  "python3-gi"
  "python3-gi-cairo"
  "python3-httplib2"
  "python3-idna"
  "python3-keyring"
  "python3-keyrings.alt"
  "python3-launchpadlib"
  "python3-lazr.restfulclient"
  "python3-lazr.uri"
  "python3-lib2to3"
  "python3-louis"
  "python3-macaroonbakery"
  "python3-mako"
  "python3-markupsafe"
  "python3-minimal"
  "python3-nacl"
  "python3-netifaces"
  "python3-oauth"
  "python3-olefile"
  "python3-pexpect"
  "python3-pil:amd64"
  "python3-pip"
  "python3-pkg-resources"
  "python3-problem-report"
  "python3-protobuf"
  "python3-ptyprocess"
  "python3-pyatspi"
  "python3-pygments"
  "python3-pymacaroons"
  "python3-renderpm:amd64"
  "python3-reportlab"
  "python3-reportlab-accel:amd64"
  "python3-requests"
  "python3-requests-unixsocket"
  "python3-rfc3339"
  "python3-secretstorage"
  "python3-setuptools"
  "python3-simplejson"
  "python3-six"
  "python3-software-properties"
  "python3-speechd"
  "python3-systemd"
  "python3-tz"
  "python3-uno"
  "python3-update-manager"
  "python3-urllib3"
  "python3-venv"
  "python3-virtualenv"
  "python3-wadllib"
  "python3-wheel"
  "python3-xdg"
  "python3-xkit"
  "python3-yaml"
  "python3-zope.interface"
  "python3.6"
  "python3.6-dev"
  "python3.6-minimal"
  "python3.6-venv"
  "qbs-common"
  "qdbus"
  "qml-module-qtgraphicaleffects:amd64"
  "qml-module-qtqml-models2:amd64"
  "qml-module-qtquick-controls:amd64"
  "qml-module-qtquick-layouts:amd64"
  "qml-module-qtquick-window2:amd64"
  "qml-module-qtquick2:amd64"
  "qmlscene"
  "qpdf"
  "qt-at-spi:amd64"
  "qt3d5-doc"
  "qt5-assistant"
  "qt5-default:amd64"
  "qt5-doc"
  "qt5-gtk-platformtheme:amd64"
  "qt5-qmake:amd64"
  "qt5-qmake-bin"
  "qt5-qmltooling-plugins:amd64"
  "qtbase5-dev:amd64"
  "qtbase5-dev-tools"
  "qtbase5-doc"
  "qtcharts5-doc"
  "qtchooser"
  "qtconnectivity5-doc"
  "qtcore4-l10n"
  "qtcreator"
  "qtcreator-data"
  "qtcreator-doc"
  "qtdeclarative5-dev-tools"
  "qtdeclarative5-doc"
  "qtgraphicaleffects5-doc"
  "qtlocation5-doc"
  "qtmultimedia5-doc"
  "qtquickcontrols2-5-doc"
  "qtquickcontrols5-doc"
  "qtscript5-doc"
  "qtsensors5-doc"
  "qtserialport5-doc"
  "qtsvg5-doc"
  "qttools5-dev-tools"
  "qttools5-doc"
  "qttranslations5-l10n"
  "qtwayland5-doc"
  "qtwebchannel5-doc"
  "qtwebengine5-doc"
  "qtwebkit5-doc"
  "qtwebkit5-examples-doc"
  "qtwebsockets5-doc"
  "qtwebview5-doc"
  "qtx11extras5-doc"
  "qtxmlpatterns5-dev-tools"
  "qtxmlpatterns5-doc"
  "rake"
  "readline-common"
  "realvnc-vnc-server"
  "realvnc-vnc-viewer"
  "remmina"
  "remmina-common"
  "remmina-plugin-rdp:amd64"
  "remmina-plugin-secret:amd64"
  "remmina-plugin-vnc:amd64"
  "rfkill"
  "rhythmbox"
  "rhythmbox-data"
  "rhythmbox-plugin-alternative-toolbar"
  "rhythmbox-plugins"
  "rpcbind"
  "rsync"
  "rsyslog"
  "rtkit"
  "ruby"
  "ruby-did-you-mean"
  "ruby-minitest"
  "ruby-net-telnet"
  "ruby-power-assert"
  "ruby-test-unit"
  "ruby2.5"
  "rubygems-integration"
  "samba"
  "samba-common"
  "samba-common-bin"
  "samba-dsdb-modules"
  "samba-libs:amd64"
  "samba-vfs-modules"
  "sane-utils"
  "sbsigntool"
  "scantv"
  "seahorse"
  "secureboot-db"
  "sed"
  "sensible-utils"
  "session-migration"
  "sgml-base"
  "sgml-data"
  "sgmlspl"
  "shared-mime-info"
  "shotwell"
  "shotwell-common"
  "simple-scan"
  "snapd"
  "socat"
  "software-properties-common"
  "software-properties-gtk"
  "sogoupinyin"
  "sound-icons"
  "sound-theme-freedesktop"
  "speech-dispatcher"
  "speech-dispatcher-audio-plugins:amd64"
  "speech-dispatcher-espeak-ng"
  "spice-vdagent"
  "sqlite"
  "sqlite3"
  "sqlitebrowser"
  "squashfs-tools"
  "ssh"
  "ssh-import-id"
  "ssl-cert"
  "strace"
  "subversion"
  "sudo"
  "syslinux"
  "syslinux-common"
  "syslinux-legacy"
  "system-config-printer"
  "system-config-printer-common"
  "system-config-printer-udev"
  "systemd"
  "systemd-sysv"
  "sysvinit-utils"
  "t1utils"
  "tar"
  "tcl"
  "tcl8.6"
  "tcpdump"
  "tdb-tools"
  "telnet"
  "tex-common"
  "tex-gyre"
  "texi2html"
  "texinfo"
  "texlive"
  "texlive-base"
  "texlive-bibtex-extra"
  "texlive-binaries"
  "texlive-extra-utils"
  "texlive-fonts-recommended"
  "texlive-formats-extra"
  "texlive-lang-greek"
  "texlive-latex-base"
  "texlive-latex-extra"
  "texlive-latex-recommended"
  "texlive-pictures"
  "texlive-plain-generic"
  "texlive-science"
  "texlive-xetex"
  "tftp-hpa"
  "tftpd-hpa"
  "thermald"
  "thunderbird"
  "thunderbird-gnome-support"
  "thunderbird-locale-en"
  "thunderbird-locale-en-gb"
  "thunderbird-locale-en-us"
  "thunderbird-locale-zh-cn"
  "thunderbird-locale-zh-hans"
  "time"
  "tipa"
  "tk"
  "tk8.6"
  "tmux"
  "totem"
  "totem-common"
  "totem-plugins"
  "transmission-common"
  "transmission-gtk"
  "tree"
  "tzdata"
  "u-boot-tools"
  "ubuntu-advantage-desktop-daemon"
  "ubuntu-advantage-tools"
  "ubuntu-artwork"
  "ubuntu-desktop"
  "ubuntu-docs"
  "ubuntu-drivers-common"
  "ubuntu-keyring"
  "ubuntu-minimal"
  "ubuntu-mono"
  "ubuntu-pro-client"
  "ubuntu-pro-client-l10n"
  "ubuntu-release-upgrader-core"
  "ubuntu-release-upgrader-gtk"
  "ubuntu-report"
  "ubuntu-session"
  "ubuntu-settings"
  "ubuntu-software"
  "ubuntu-sounds"
  "ubuntu-standard"
  "ubuntu-system-service"
  "ubuntu-wallpapers"
  "ubuntu-wallpapers-bionic"
  "ubuntu-web-launchers"
  "ucf"
  "udev"
  "udisks2"
  "ufw"
  "unattended-upgrades"
  "uno-libs3"
  "unzip"
  "update-inetd"
  "update-manager"
  "update-manager-core"
  "update-notifier"
  "update-notifier-common"
  "upower"
  "ure"
  "ureadahead"
  "usb-creator-common"
  "usb-creator-gtk"
  "usb-modeswitch"
  "usb-modeswitch-data"
  "usbmuxd"
  "usbutils"
  "util-linux"
  "uuid-runtime"
  "v4l-conf"
  "va-driver-all:amd64"
  "vdpau-driver-all:amd64"
  "vim"
  "vim-common"
  "vim-runtime"
  "vim-tiny"
  "vino"
  "vlc"
  "vlc-bin"
  "vlc-data"
  "vlc-l10n"
  "vlc-plugin-base:amd64"
  "vlc-plugin-notify:amd64"
  "vlc-plugin-qt:amd64"
  "vlc-plugin-samba:amd64"
  "vlc-plugin-skins2:amd64"
  "vlc-plugin-video-output:amd64"
  "vlc-plugin-video-splitter:amd64"
  "vlc-plugin-visualization:amd64"
  "wamerican"
  "wbritish"
  "wget"
  "whiptail"
  "whoopsie"
  "whoopsie-preferences"
  "wireless-regdb"
  "wireless-tools"
  "wireshark"
  "wireshark-common"
  "wireshark-qt"
  "wpasupplicant"
  "x11-apps"
  "x11-common"
  "x11-session-utils"
  "x11-utils"
  "x11-xkb-utils"
  "x11-xserver-utils"
  "x11proto-core-dev"
  "x11proto-damage-dev"
  "x11proto-dev"
  "x11proto-fixes-dev"
  "x11proto-xext-dev"
  "x11proto-xf86vidmode-dev"
  "xauth"
  "xawtv"
  "xawtv-plugins"
  "xbitmaps"
  "xbrlapi"
  "xcursor-themes"
  "xdg-desktop-portal"
  "xdg-desktop-portal-gtk"
  "xdg-user-dirs"
  "xdg-user-dirs-gtk"
  "xdg-utils"
  "xfonts-base"
  "xfonts-encodings"
  "xfonts-scalable"
  "xfonts-utils"
  "xinit"
  "xinput"
  "xkb-data"
  "xml-core"
  "xmlto"
  "xorg"
  "xorg-docs-core"
  "xorg-sgml-doctools"
  "xserver-common"
  "xserver-xephyr"
  "xserver-xorg-core-hwe-18.04"
  "xserver-xorg-hwe-18.04"
  "xserver-xorg-input-all-hwe-18.04"
  "xserver-xorg-input-libinput-hwe-18.04"
  "xserver-xorg-input-wacom-hwe-18.04"
  "xserver-xorg-legacy-hwe-18.04"
  "xserver-xorg-video-all-hwe-18.04"
  "xserver-xorg-video-amdgpu-hwe-18.04"
  "xserver-xorg-video-ati-hwe-18.04"
  "xserver-xorg-video-fbdev-hwe-18.04"
  "xserver-xorg-video-intel-hwe-18.04"
  "xserver-xorg-video-nouveau-hwe-18.04"
  "xserver-xorg-video-qxl-hwe-18.04"
  "xserver-xorg-video-radeon-hwe-18.04"
  "xserver-xorg-video-vesa-hwe-18.04"
  "xserver-xorg-video-vmware-hwe-18.04"
  "xsltproc"
  "xterm"
  "xtrans-dev"
  "xul-ext-ubufox"
  "xwayland"
  "xxd"
  "xz-utils"
  "yelp"
  "yelp-xsl"
  "zeitgeist-core"
  "zenity"
  "zenity-common"
  "zip"
  "zlib1g:amd64"
  "zlib1g-dev:amd64"
)

TOTAL_PACKAGES=${#PACKAGES[@]}
CURRENT_COUNT=0
ERROR_PACKAGES=()

# 检查包是否已安装的函数
check_installed() {
  dpkg -l | grep -q "^ii\s\+$1\s"
}

# 安装软件包的函数
install_package() {
  local package=$1
  local current_count=$2
  local progress_length=50
  local progress_char="="
  local progress_bar=""

  # 计算进度条
  local progress_percentage=$((current_count * 100 / TOTAL_PACKAGES))
  local progress_chars=$((progress_length * current_count / TOTAL_PACKAGES))

  # 构建进度条
  progress_bar=$(printf "%-${progress_length}s" | tr ' ' "$progress_char")
  progress_bar=${progress_bar:0:progress_chars}

  # 输出进度信息，不换行
  if ! sudo apt-get install -y $package >> "$LOG_FILE" 2>&1; then
    ERROR_PACKAGES+=("$package")
    # 更新进度条，显示失败信息
    printf "\r%-${progress_length}s [失败:$package] %d%%" "$progress_bar" "$progress_percentage"
    echo -e "\n$package 安装失败 ($current_count/$TOTAL_PACKAGES)." | tee -a "$ERROR_LOG"
  else
    # 更新进度条，显示成功信息
    printf "\r%-${progress_length}s [成功:$package] %d%%" "$progress_bar" "$progress_percentage"
    # 将成功信息追加到日志文件
    echo "$package 安装成功 ($current_count/$TOTAL_PACKAGES)." >> "$LOG_FILE"
  fi
}

# 遍历每个包名并执行安装
for package in "${PACKAGES[@]}"; do
  CURRENT_COUNT=$((CURRENT_COUNT + 1))
  if ! check_installed $package; then
    install_package $package $CURRENT_COUNT
  else
    # 如果已经安装，则更新进度条，显示已安装信息
    progress_percentage=$((CURRENT_COUNT * 100 / TOTAL_PACKAGES))
    progress_bar=$(printf "%-${progress_length}s" | tr ' ' '-')
    progress_bar=${progress_bar:0:$((progress_length * CURRENT_COUNT / TOTAL_PACKAGES))}
    printf "\r%-${progress_length}s [已安装:$package] %d%%" "$progress_bar" "$progress_percentage"
    # 将已安装信息追加到日志文件
    echo "$package 已经安装。 ($CURRENT_COUNT/$TOTAL_PACKAGES)." >> "$LOG_FILE"
  fi
done

# 输出错误信息
if [ ${#ERROR_PACKAGES[@]} -ne 0 ]; then
  echo -e "\n安装失败的软件包如下:"
  for pkg in "${ERROR_PACKAGES[@]}"; do
    echo "$pkg"
  done
else
  echo -e "\n所有软件包安装成功。"
fi

echo -e "\n软件包安装完成。请检查 $LOG_FILE 和 $ERROR_LOG 获取详细信息。"
